<div ng-include="'html/shared/_baseheader.html'"></div>
<div id="wrapper" class="bg_f" style="min-height:{{deviceInfo.height}}px">
    <div id="scroller">
        <div id="pullDown">
            <span class="pullDownIcon"></span><span class="pullDownLabel"></span>
        </div>
        <section>
            <!-- <div class="header_box">
                <span>订单确认</span>
                <i class="header_icon h_i_left" activeclass="nobgm" ng-click="go('/main/day'); $event.stopPropagation()"></i>
            </div> -->
            <div class="puoduct_center">
                <div class="orderconfirm_top text_center">
                    <p class="orderconfirm_font">投资金额(元)</p>
                    <p class="p_t16">
                        <span>{{getprice|number:'0'}}</span>
                    </p>
                    <div class="orderconfirm_width clearfix">
                        <div class="pull-left">
                            <p>预期年化率</p>
                            <p class="p_info">{{orderinfo.annualRateOfYear|number:'1'}}%</p>
                        </div>
                        <p class="pull-left p_line"></p>
                        <div class="pull-left">
                            <p>项目期限</p>
                            <p class="p_info">次日随时可提</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="orderconfirm_head_bot text_center">每日预期收益：<span ng-bind="getMyPrice | number :'2'"></span>元</div>
            <ul class="orderconfirm_ul">
                <li class="orderconfirm_ul_li orderconfirm_ul_li2 clearfix" ng-click="selectpay(1)">
                    <span class="pull-left orderconfirm_ul_span">余额</span>
                    <span class="pull-right orderconfirm_ul_li_p">{{userinfo.usableAmount+'元'}}</span>
                </li>
                <!--已办卡-->
                <li class="orderconfirm_ul_li clearfix o_c_u_l_l " ng-if="getuserinfo.bankCard&&getuserinfo.bankCode">
                    <img class="pull-left currentorder_li_bank" src="{{bankInfo.bankIcon}}">
                    <span class="pull-left orderconfirm_li_bankinfo">
						<p ng-bind="getuserinfo.bankName"></p>
						<p ng-bind="getuserinfo.bankCard"></p>
					</span>
                </li>
            </ul>
            <div class="clearfix currentorder_li_xieyi">
                <i class="pull-left currentorder_li_wg {{orderinfoplus.agreeprotocol ? '' : 'currentorder_li_check'}} " ng-click="orderinfoplus.agreeprotocol = !orderinfoplus.agreeprotocol" activeclass="nobgm"></i>
                <span class="currentorder_li_yl">阅读并同意<span ng-click="go('/contract/contract-hqserves')">《定向委托投资协议》</span><span ng-click="go('/contract/contract-msg')">《风险提示函》</span><span ng-click="go('/contract/contract-xy')">《免责声明》</span></span>
            </div>
            <div class="currentorder_o_but" style="margin-top:5.3333rem" ng-click="gopay()">确认投资</div>
        </section>

    </div>
</div>
<div id="js_recharge" class="none">
    <section class="withtan_box">
        <p class="clearfix witht_b_tit">
            <span class="text_center">&nbsp;提示</span>
            <span class="with_b_t_icon" ng-click="closelayout()"></span>
        </p>
        <div class="withtan_content">
            <div class="clearfix with_c_div" style="padding-bottom:1.0667rem">
                您的可用余额不足，还需充值{{reduce|number:'2'}}元才能完成投资。现在就去充值？
            </div>
            <div class="withtan_content_bth">
				<span class="with_c_p_but with_c_p_but_left" ng-click="closelayout()">取消</span>
				<span class="with_c_p_but with_c_p_but_color" ng-click="enterpay(2)">去充值</span>
			</div>
        </div>
    </section>
</div>
<div id="js_singlePrice" class="none">
    <section class="withtan_box">
        <p class="clearfix witht_b_tit">
            <span class="text_center">&nbsp;提示</span>
            <span class="with_b_t_icon" ng-click="closelayout()"></span>
        </p>
        <div class="withtan_content">
            <div class="clearfix with_c_div" style="padding-bottom:1.0667rem">
                您的可用余额不足，还需充值{{reduce}}元才能完成投资。充值金额超过银行卡单笔限额，请电脑登录www.youlijinfu.com使用网银大额充值
            </div>
            <div class="msg_but" ng-click="go('/main/day')">
                我知道了
            </div>
        </div>
    </section>
</div>
<div id="js_banrecharge" class="none">
    <section class="withtan_box">
        <p class="clearfix witht_b_tit">
            <span class="text_center">&nbsp;提示</span>
            <span class="with_b_t_icon" ng-click="closelayout()"></span>
        </p>
        <div class="withtan_content">
            <div class="clearfix with_c_div" style="padding-bottom:1.0667rem">
                每日23:50至0:10为系统对账时间，期间暂停快捷充值操作。给您带来的不便，敬请谅解。
            </div>
            <div class="msg_but" ng-click="closelayout()">
                我知道了
            </div>
        </div>
    </section>
</div>
<!-- 充值提交表单 -->
<form name="form" id="rechargeform" method="post">
    <input ng-repeat='(i,obj) in ajaxdata' name="{{i | upperFirst}}" id="{{i | upperFirst}}" type="hidden" value={{obj}} />
</form>